package com.ss6621.spring1.Service;

import com.ss6621.spring1.pojo.User;
import com.ss6621.spring1.utils.Result;

import java.util.List;

public interface UserService {
    User findByUsername(String username);
    User register(User user);
    List<User> findAll();

    Object update(User user);
}
